Convert a Buffer to a blob
A Blob can be constructed from an array of chunks, where each chunk is a string, binary data structure (including Buffer ), or another Blob .
Convert a Blob to an ArrayBuffer
The Blob class provides a number of methods for consuming its contents in different formats, including .arrayBuffer() . const blob = new Blob([hello ...
Blob: arrayBuffer() method - Web APIs
2023年12月1日 — The arrayBuffer() method of the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ...
Buffer
A Blob encapsulates immutable, raw data that can be safely shared across multiple worker threads. new buffer.Blob([sources[, options]]) #. History ...
Blob.arrayBuffer()
The arrayBuffer() method in the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer .
blob-to
2020年10月27日 — Convert a Blob to a Buffer. Latest version: 1.2.9, last published: 3 years ago. Start using blob-to-buffer in your project by running `npm i ...
typesblob-to
2023年11月6日 — @types/blob-to-buffer. TypeScript icon, indicating that this package has built-in type declarations · Installation · Summary · Details · Credits.